package com.example.mbl.result.business;

import com.example.mbl.result.Page;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class GalleryPageResult extends Page {
    private String id;

    private String picture;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date date;

    private String title;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
